﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;
using Volo.Abp.Domain.Entities.Auditing;

namespace ProductionManage.Models.DataModel
{
    /// <summary>
    /// 单位信息
    /// </summary>
    public class UnitInfo : Entity<int>
    {
        /// <summary>
        /// 单位编码
        /// </summary>
        public string? UnitCode { get; set; }

        /// <summary>
        /// 单位名称
        /// </summary>
        public string? UnitName { get; set; }

        /// <summary>
        /// 是否主单位
        /// </summary>
        public bool UnitFlag { get; set; }

        /// <summary>
        /// 主单位ID
        /// </summary>
        public int? PrimaryId { get; set; }

        /// <summary>
        /// 换算比例
        /// </summary>
        public double? ChangRate { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsEnable { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
    }
}
